package cn.ml.springdemo.yiChangAop;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestError {
    public static void main(String[] args) {

        ApplicationContext ac = new ClassPathXmlApplicationContext("ac.xml");
        TargetObj targetObj = ac.getBean(TargetObj.class);
        //System.out.println(targetObj.div(4,1));
        targetObj.div(4,1);
        System.out.println("*******************************************");
        targetObj.div(4,0);

    }
}
